$control-treeview: ();

@include b(control-treeview) {
}

@include b(control-treeview-node) {
  display: flex;
  flex-grow: 1;
  flex-shrink: 1;
  align-items: center;
  min-width: 1px;
  height: 100%;
  line-height: 26px;
  @include e(icon) {
    margin-right: getCssVar(spacing, tight);
  }

  @include e(label) {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 1px;
    @include utils-ellipsis;
  }

  &:hover {
    .#{bem(control-treeview-context-menu-trigger)} {
      display: inline-block;
    }
  }
}

@include b(control-treeview-context-menu-trigger) {
  display: none;
  flex-shrink: 0;
  width: 30px;
  text-align: center;
  cursor: pointer;
  @include e(caption-icon){
    vertical-align: middle;
  }
}
